package cn.sfrog.system.domain.vo.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "通知公告返回")
public class AppNoticeResultVO {
    @ApiModelProperty("id")
    private Long noticeId;

    @ApiModelProperty("标题")
    private String noticeTitle;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("是否已读【false=未读 true=已读】")
    private Boolean isRead;
}
